﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp "&#x00A0;">
]>
<xsl:stylesheet version="1.0"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:asp="http://schemas.microsoft.com/AspNet/WebControls"
        xmlns:lsc="urn:landscape-xsl"
        xmlns:lsc.ext="urn:landscape"
        exclude-result-prefixes="xsl asp lsc lsc.ext">

  <xsl:param name="formAction" select="'?'"/>
  <xsl:param name="formError"/>
  
  <xsl:template match="/" lsc:wrapper="Wrappers/Default">
    <form method="POST" action="{$formAction}">
      <div>
        <xsl:if test="string-length($formError) > 0">
          <p style="color:#ff0000">
            <xsl:value-of select="$formError"/>
          </p>
        </xsl:if>
        <label>Email Address</label>
        <br/>
        <input type="email" name="login" value="nobody@example.net"/>
        <br/>
        <label>Password</label>
        <br/>
        <input type="password" name="password" value="password"/>
        <br/>
        <input type="submit" value="Sign in"/>
      </div>
    </form>
  </xsl:template>
</xsl:stylesheet>